home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / line=pensizes.hex < prev    next >
Text File  |  1992-11-01  |  2KB  |  40 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8. %
  9. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10. %
  11. %    This test simply seeks to show that we deal with different pen sizes properly.
  12. %
  13. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  14.  
  15. % Start off with identical mdeidum sized pen sizes
  16. 07 0010 0010
  17.  
  18. % DHDV line  (demonstrating 0 origin)
  19. 23 40 20
  20.  
  21. % Now, Make the pen very rectangular (not square)  (very tall, not very wide)
  22. 07 0014 0004
  23.  
  24. % Line
  25. 20 0080 0080 0100 00B0
  26.  
  27. % Do the reverse with the width and height
  28. 07 0004 0014
  29.  
  30. %LineFrom
  31. 21 0040 00F0
  32.  
  33. % explicitly set the pen size to 1
  34. 07 0001 0001
  35.  
  36. %Short line
  37. 22 0000 00C0 E0 30
  38.  
  39. FF    % end
  40.